package com.shuhua.taskServer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * 应用程序入口类
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.shuhua.taskServer", "com.shuhua.common"})
@EntityScan("com.shuhua.pojo.entity")
@MapperScan("com.shuhua.taskServer.mapper")
public class TaskServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(TaskServerApplication.class, args);
    }
} 